//
//  CmObject.h
//  ChipmunkEditor
//
//  Created by Rewolf Us on 11-2-22.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "chipmunk.h"

typedef enum _tagCmType{
	kCmBox,
	kCmPolygon,
	kCmCircle
}CmType;

@interface CmObject : NSObject {
	NSString* cmName;
	CmType type;
	cpFloat mass;
	cpVect pos;
	//texture
}
@property (copy) NSString *cmName;
@property (readwrite) CmType type;
@property (readwrite) cpFloat mass;
@property (readwrite) cpVect pos;

@end
